package io.mqttpush.common.events;

import lombok.*;

import java.util.Date;

/**
 * @author tianzhenjiu
 * @date 2020/4/27 16:14
 */

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class MsgEvent {

    public String deviceId;

    public Date eventTime;



    public String eventName(){

        return this.getClass().getSimpleName();
    }

}
